package w3_1;

public class Lt5 {
	public static void main(String[] args) {
		long n = 0;
		long sum = 0;
		for (int i=0; i<10; i++) {
			// System.out.println(n);
			n = n*10 + 8;
			sum += n;
		}
		System.out.println("sum = " + sum);
	}

}
